import java.util.Vector;

class FuzzyVariable{
    protected String name;
    protected Vector<FuzzySet> v_sets;

    public FuzzyVariable(String name){
	this.name = name;
	this.v_sets = new Vector();
    }//end constructor
    
    public void addFuzzySet(FuzzySet fs){
	this.v_sets.add(fs);
    }
    
    public String getName(){return this.name;}
    public int getNumberFuzzySets(){return this.v_sets.size();}
    public FuzzySet getFuzzySetAt(int pos){return this.v_sets.elementAt(pos);}
	
    

}//end FuzzyVariable
